<% @documents = Document.find(:all, :order => "stdev DESC", :limit => 10)%>

<% @documents.each do |document| %>
<p>

<%= ratings_for document, :dimension => :discussable, :small_stars => true %>
  <%= document.title %>
</p>
<% end %>
<br/>
<br/>
<%= link_to 'New document', new_document_path %>
  